#include "gameover.h"
#include "ui_gameover.h"
gameover::gameover(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::gameover)
{
    ui->setupUi(this);
    this->setWindowTitle(QString("游戏结束了"));

}

gameover::~gameover()
{
    delete ui;
}

void gameover::on_pushButton_clicked()
{
    emit replay();
    qDebug("回到选关了捏");
}

void gameover::on_pushButton_2_clicked()
{
    this->close();
    emit gg();
}
